<form class="form-horizontal" #valForm="ngForm">
	<div *ngIf="data">
		<div class="panel-heading">{{('crm.component.node.state.heading' | translate) || '施工信息'}}</div>
		<div class="form-group">
			<label for="data.name" class="col-lg-2 control-label">{{('crm.component.node.state.name' | translate) || '施工人员：'}}</label>
			<div class="col-lg-3">
				<input class="form-control" type="text" [(ngModel)]="data.name" #name="ngModel" name="data.name" required
					[disabled]="data.isDisabled"/>
			</div>
			<label for="data.email" class="col-lg-2 control-label">{{('crm.component.node.state.email' | translate) || '联系邮箱：'}}</label>
			<div class="col-lg-3">
				<input class="form-control" type="text" [(ngModel)]="data.email" #email="ngModel" name="data.email" required
					[disabled]="data.isDisabled" placeholder="{{('crm.component.node.state.wu' | translate) || '无'}}"/>
			</div>			
		</div>
		<div class="form-group">
			<label for="data.telephone" class="col-lg-2 control-label">{{('crm.component.node.state.telephone' | translate) || '联系电话(座)：'}}</label>
			<div class="col-lg-3">
				<input class="form-control" type="text" [(ngModel)]="data.telephone" #telephone="ngModel" name="data.telephone" required
					[disabled]="data.isDisabled" placeholder="{{('crm.component.node.state.wu' | translate) || '无'}}"/>
			</div>
			<label for="data.mobile" class="col-lg-2 control-label">{{('crm.component.node.state.mobile' | translate) || '联系电话(移)：'}}</label>
			<div class="col-lg-3">
				<input class="form-control" type="text" [(ngModel)]="data.mobile" #mobile="ngModel" name="data.mobile" required
					[disabled]="data.isDisabled" placeholder="{{('crm.component.node.state.wu' | translate) || '无'}}"/>
			</div>			
		</div>
		<div class="form-group">
			<label for="data.createDate" class="col-lg-2 control-label">{{('crm.component.node.state.createDate' | translate) || '提交日期：'}}</label>
			<div class="col-lg-3">
				<input class="form-control" type="text" [(ngModel)]="data.createDate" #createDate="ngModel" name="data.createDate" required
					[disabled]="data.isDisabled"/>
			</div>
			<label for="data.orderSate" class="col-lg-2 control-label">{{('crm.component.node.state.orderSate' | translate) || '施工状态：'}}</label>
			<div class="col-lg-3">
				<input class="form-control" *ngIf="data.orderSate == '2'" type="text" value="{{('crm.component.node.state.unsuccess' | translate) || '施工中'}}" name="data.orderSate" required
					[disabled]="data.isDisabled"/>
				<input class="form-control" *ngIf="data.orderSate == '3'" type="text" value="{{('crm.component.node.state.success' | translate) || '施工完成'}}" name="data.orderSate" required
					[disabled]="data.isDisabled"/>
			</div>			
		</div>												
	</div>
</form>